package com.higgins.client.generic.components;


import java.util.List;
import java.util.logging.Logger;

public class GenericColumn		{
	private static final Logger log = Logger.getLogger(GenericColumn.class.getName());
//	private Integer id;
	private Integer index;
	private String title;
	private Class type;
	private Integer width;
	private Boolean editable;
	private List list;
	
	public GenericColumn()			{
	}
	public GenericColumn(Integer index, String title, Class type, Integer width, Boolean editable)			{
		this.index = index;
		this.title = title;
		this.type = type;
		this.width = width;
		this.editable = editable;
	}
	public GenericColumn(Integer index, String title, Class type, Integer width, Boolean editable, List list)			{
		this.index = index;
		this.title = title;
		this.type = type;
		this.width = width;
		this.editable = editable;
		this.list = list;
	}
	public void setIndex(Integer index)	{
		this.index = index;
	}
	public Integer getIndex()	{
		return index;
	}
	public void setTitle(String title)	{
		this.title = title;
	}
	public String getTitle()	{
		return title;
	}
	public void setType(Class type)	{
		this.type = type;
	}
	public Class getType()	{
		return type;
	}
	public void setWidth(Integer width)	{
		this.width = width;
	}
	public Integer getWidth()	{
		return width;
	}
	public void setEditable(Boolean editable)	{
		this.editable = editable;
	}
	public Boolean getEditable()	{
		return editable;
	}
	public void setList(List list)	{
		this.list = list;
	}
	public List getList()	{
		return list;
	}
}
